<template>
  <Person a="哈哈" :list="personList"></Person>
</template>

<script setup lang="ts" name="App">
  import Person from './components/Person.vue'
  import {reactive} from 'vue'
  import {type Persons} from './types'

  let personList = reactive<Persons>([
    {id:'1',name:'张三',age:18},
    {id:'2',name:'李四',age:19},
    {id:'3',name:'王武',age:20},
    {id:'4',name:'赵六',age:21},
    {id:'5',name:'留疤',age:22},
  ])
  console.log(personList)
</script>

<style>

</style>